space to underscore python

25

mystring.replace(" ", "_")

Comments

Submit
0 Comments